<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="description" content="">
    <meta name="author" content="Dashboard">
    <meta name="keyword" content="Dashboard, Bootstrap, Admin, Template, Theme, Responsive, Fluid, Retina">
    <title>{$nn}后台管理中心</title>
    <!-- Bootstrap core CSS -->
    <link href="__PUBLIC__/ds/assets/css/bootstrap.css" rel="stylesheet">
    <!--external css-->
    <link href="__PUBLIC__/ds/assets/font-awesome/css/font-awesome.css" rel="stylesheet" />
    <link rel="stylesheet" type="text/css" href="__PUBLIC__/ds/assets/css/zabuto_calendar.css">
    <link rel="stylesheet" type="text/css" href="__PUBLIC__/ds/assets/js/gritter/css/jquery.gritter.css" />
    <link rel="stylesheet" type="text/css" href="__PUBLIC__/ds/assets/lineicons/style.css">
    <link rel="shortcut icon" href="__PUBLIC__/img/logo.png">

    <!-- Custom styles for this template -->
    <link href="__PUBLIC__/ds/assets/css/style.css" rel="stylesheet">
    <link href="__PUBLIC__/ds/assets/css/style-responsive.css" rel="stylesheet">

    <!--//编辑器样式-->
    <link href="__PUBLIC__/kindeditor/themes/default/default.css" rel="stylesheet">

    <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
    <!--[if lt IE 9]>

    <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
    <script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
    <![endif]-->

    <!--图片有关-->
    <link href="__PUBLIC__/ds/assets/js/fancybox/jquery.fancybox.css" rel="stylesheet" />
    <script src="__PUBLIC__/ds/assets/js/jquery.js"></script>
    <style>
        .black-bg {
            background: #26ae5f;
            border-bottom: 1px solid #26ae5f;
        }
        .img-circle {
            border-radius: 0%;
            background-color: transparent;
        }
    </style>


</head>

<body>

<section id="container" >
    <header class="header black-bg">
        <div class="sidebar-toggle-box">
            <div class="fa fa-bars tooltips" data-placement="right" data-original-title="收起导航列"></div>
        </div>
        <!--logo start-->
        <a href="###" class="logo" style="color: #f5f5f5;cursor: default;"><b>{$nn}管理平台</b></a>
        <div class="top-menu">
            <ul class="nav pull-right top-menu">
                <li><a class="logout" href="{:U('Base/out')}">退出</a></li>
            </ul>
        </div>
    </header>
    <aside>
        <div id="sidebar"  class="nav-collapse ">
            <!-- sidebar menu start-->
            <ul class="sidebar-menu" id="nav-accordion">

                <p class="centered"><a href="{:U('Index/index',array('active_id'=>1))}"><img src="{$Think.session.admin.img}" class="img-circle" width="60"></a></p>
                <h5 class="centered">{$Think.session.admin.name}</h5>

                <li class="mt" >
                    <a id="active1"   href="{:U('Index/index',array('active_id'=>1))}">
                        <i class="fa fa-bar-chart-o"></i>
                        <span>首页</span>
                    </a>
                </li>
                <!--审核管理-->
                <if condition="QUAN eq 2">
                <li class="sub-menu">
                    <a id="active20" href="javascript:;" >
                        <i class="fa fa-check-square"></i>
                        <span>审核管理</span>
                    </a>
                    <ul class="sub">
                            <li><a  href="{:U('He/info',array('active_id'=>20))}">用户审核</a></li>
                    </ul>
                </li>
                </if>
                <!--公司介绍信息-->
                <if condition="QUAN eq 2">
                <li class="sub-menu">
                    <a id="active8" href="javascript:;" >
                        <i class="fa  fa-institution"></i>
                        <span>公司介绍信息</span>
                    </a>
                    <ul class="sub">
                        <li><a  href="{:U('Company/index',array('active_id'=>8))}">公司信息</a></li>
                        <li><a  href="{:U('Company/xie',array('active_id'=>8))}">小程序协议</a></li>
                        <li><a  href="{:U('Company/covers',array('active_id'=>8))}">积分数</a></li>
                    </ul>
                </li>
                </if>
                <!--商品-->
                <li class="sub-menu">
                    <a id="active10" href="javascript:;" >
                        <i class="fa fa-money"></i>
                        <span>视频课程管理</span>
                    </a>
                    <ul class="sub">
                        <li><a href="{:U('Pi/ty',array('active_id'=>10))}">首页分类</a></li>
                        <li><a href="{:U('Beauty/type',array('active_id'=>10))}">课程分类</a></li>
                        <li><a  href="{:U('Pi/index',array('active_id'=>10))}" >视频课程</a></li>
                        <li><a  href="{:U('Voices/index',array('active_id'=>10))}">语音课程</a></li>
                    </ul>
                </li>
                <!--教师-->
                <li class="sub-menu">
                    <a id="active11" href="javascript:;" >
                        <i class="fa fa-money"></i>
                        <span>教师管理</span>
                    </a>
                    <ul class="sub">
                        <li><a  href="{:U('Teacher/index',array('active_id'=>11))}">教师信息</a></li>
                        <li><a  href="{:U('Teacher/tags',array('active_id'=>11))}">教师标签</a></li>
                    </ul>
                </li>
                <!--资讯/轮播图信息-->
                <li class="sub-menu">
                    <a id="active19" href="javascript:;" >
                        <i class="fa fa-file-image-o"></i>
                        <span>资讯/轮播图信息</span>
                    </a>
                    <ul class="sub">
                        <li><a href="{:U('Shop/index',array('active_id'=>19))}">轮播图列表</a></li>
                        <li><a href="{:U('Beauty/info',array('active_id'=>19))}">门店/院线推荐列表</a></li>
                        <li><a href="{:U('Join/type',array('active_id'=>19))}">加盟合作分类</a></li>
                        <li><a href="{:U('Join/info',array('active_id'=>19))}">加盟合作资讯列表</a></li>
                    </ul>
                </li>
                <!--优惠券-->
                <!--<li class="sub-menu">
                    <a id="active11" href="javascript:;" >
                        <i class="fa fa-credit-card"></i>
                        <span>优惠券</span>
                    </a>
                    <ul class="sub">
                        <li><a href="{:U('Coupons/index',array('active_id'=>11))}">查看优惠券</a></li>
                        <li><a href="{:U('Coupons/form',array('active_id'=>11))}">添加新优惠券</a></li>
                    </ul>
                </li>-->
                <!--用户管理-->
                <li class="sub-menu">
                    <a id="active4" href="javascript:;" >
                        <i class="fa fa-group"></i>
                        <span>用户信息管理</span>
                    </a>
                    <ul class="sub">
                        <!--<li><a  href="{:U('User/index',array('active_id'=>4))}">用户基本信息</a></li>-->
                        <li><a  href="{:U('User/info',array('active_id'=>4))}">普通用户信息</a></li>
                        <li><a href="{:U('User/zhuan',array('active_id'=>4))}">用户转介信息</a></li>
                       <!-- <li><a  href="{:U('User/vip_info',array('active_id'=>4))}">VIP用户信息</a></li>
                        <li><a  href="{:U('User/tags',array('active_id'=>4))}">用户标签</a></li>
                        <if condition="QUAN eq 2">
                            <li><a  href="{:U('User/fan',array('active_id'=>4))}">用户反馈</a></li>-->
                            <li><a  href="{:U('User/hostorys',array('active_id'=>4))}">核销记录</a></li>
                        <!--</if>
                        <li><a  href="{:U('User/back_img',array('active_id'=>4))}">个人中心皮肤背景</a></li>-->
                    </ul>
                </li>
                <!--订单-->
                <li class="sub-menu">
                    <a id="active15" href="javascript:;" >
                        <i class="fa fa-truck"></i>
                        <span>商城订单</span>
                    </a>
                    <ul class="sub">
                        <li><a  href="{:U('Orders/index',array('active_id'=>15))}">订单信息</a></li>
                        <!--<li><a  href="{:U('Orders/stat',array('active_id'=>15))}">订单流水</a></li>-->
                        <li><a  href="{:U('Orders/ping',array('active_id'=>15))}">用户评价</a></li>
                        <!--<li><a  href="{:U('Orders/hui',array('active_id'=>15))}">回收箱</a></li>-->
                    </ul>
                </li>

                <!--管理员设置-->

                <li class="sub-menu">
                    <a id="active2"  href="javascript:;" >
                        <i class="fa fa-gears"></i>
                        <span>管理员设置</span>
                    </a>
                    <ul class="sub">
                        <if condition="QUAN eq 2">
                        <li><a  href="{:U('Admin/index',array('active_id'=>2))}">查看管理员</a></li>
                        <li><a  href="{:U('Admin/form',array('active_id'=>2))}">添加管理员</a></li>
                        </if>
                        <li><a  href="{:U('Admin/info',array('active_id'=>2))}">修改个人信息</a></li>
                    </ul>
                </li>
                <!--问题解答-->
                <li class="sub-menu">
                    <a id="active9" href="javascript:;" >
                        <i class="fa fa-question"></i>
                        <span>咨询预约</span>
                    </a>
                    <ul class="sub">
                        <li class="active"><a  href="{:U('Problems/index',array('active_id'=>9))}">常见问题信息</a></li>
                        <li><a  href="{:U('Problems/yue',array('active_id'=>9))}">咨询预约用户</a></li>
                    </ul>
                </li>
                <!--日志-->
                <if condition="QUAN eq 2">
                    <li class="sub-menu">
                        <a id="active7" href="javascript:;" >
                            <i class="fa fa-tasks"></i>
                            <span>日志</span>
                        </a>
                        <ul class="sub">
                            <li><a  href="{:U('Logs/index',array('active_id'=>7))}">查看日志</a></li>
                        </ul>
                    </li>
                </if>
                <!--<li class="sub-menu"><a  href="javascript:;" ><i class="fa"></i><span>cecec</span></a><ul class="sub"><li>
                    <a href="{:U('Vips/index')}" target="wrapper">dsadsa</a>  </li></ul></li>
                <li class="sub-menu"><a  href="javascript:;" ><i class="fa"></i><span>cecec</span></a><ul class="sub"><li><a href="http://qq.com" target="wrapper">dsadsa</a>  </li></ul></li>
                <li class="sub-menu"><a  href="javascript:;" ><i class="fa"></i><span>cecec</span></a><ul class="sub"><li><a href="http://sina.com" target="wrapper">dsadsa</a>  </li></ul></li>
                -->
                <li class="sub-menu"><a  href="javascript:;" ><i class="fa"></i><span></span></a><ul class="sub"><li></li></ul></li>
                <li class="sub-menu"><a  href="javascript:;" ><i class="fa"></i><span></span></a><ul class="sub"><li></li></ul></li>
                <li class="sub-menu"><a  href="javascript:;" ><i class="fa"></i><span></span></a><ul class="sub"><li></li></ul></li>
            </ul>
        </div>
    </aside>
    </section>
    <script>
        var active_id = {$active_id};
        $('#active'+active_id).addClass("active");
    </script>